#include <stdio.h>
#include <stdlib.h>

int main()
{int a,b;
    printf("Input coordinate x:\n");
    scanf("%d", &a);
    printf("Input coordinate y:\n");
    scanf("%d", &b);
    if(a>0 && b>0)
        printf("the point is in the first quadrant");
    else if(a<0 && b>0)
        printf("the point is in the secand quadrant");
    else if(a<0 && b<0)
        printf("the point is in the third quadrant");
    else if(a>0 && b<0)
        printf("the point is in the fourth quadrant");
        else printf("On the coordinate axis");
    return 0;
}
